const {Service}=require("egg")

class ArticleService extends Service{
    async getArticle(){
        const sql=`select * from article`
        return this.app.mysql.query(sql)
    }
}

module.exports=ArticleService